home *** CD-ROM | disk | FTP | other *** search
/ NBC Slam Jams! / NBC Slam Jams!.iso / nbademo.exe / CABFILE / IDR_CABFILE / Data / 2DScript / MVP.UI < prev    next >
Text File  |  1999-06-14  |  4KB  |  212 lines

  1. "2D\Overlays\mvp"
  2.  
  3. //********************************
  4. //  Data Container
  5. //********************************
  6.  
  7. DataContainer {
  8.     String "MvpStatPoints" {
  9.         EditBox "MvpStatPoints";
  10.     };
  11.     String "MvpStatRebounds" {
  12.         EditBox "MvpStatRebounds";
  13.     };
  14.     String "MvpStatAssists" {
  15.         EditBox "MvpStatAssists";
  16.     };
  17.     String "MvpStatBlocks" {
  18.         EditBox "MvpStatBlocks";
  19.     };
  20.     String "MvpStatSteals" {
  21.         EditBox "MvpStatSteals";
  22.     };
  23. };
  24.  
  25. //********************************
  26. //  Images
  27. //********************************
  28. Image "MvpBackground" {
  29.     Filename "bckrnd";
  30. };
  31. Image "MvpOkayButtonEnabled" {
  32.     Filename "okaye";
  33. };
  34. Image "MvpOkayButtonFocused" {
  35.     Filename "okayf";
  36. };
  37. Image "MvpOkayButtonPushed" {
  38.     Filename "okayP";
  39. };
  40. Image "PopupOkayButtonEnable" {
  41.     FileName "okayE";
  42. };
  43. Image "PopupOkayButtonFocus" {
  44.     FileName "okayF";
  45. };
  46. Image "PopupOkayButtonPush" {
  47.     FileName "okayP";
  48. };
  49. //********************************
  50. //  Fonts
  51. //********************************
  52. Font "MvpStatTitleFont" {
  53.     Filename "titFnt";
  54.     Translate "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#%,";
  55.     Kerning 1;
  56. };
  57. Font "MvpStatsFont" {
  58.     Filename "statFnt";
  59.     Translate "0123456789";
  60.     Kerning 0;
  61. };
  62. Font "PopupButtonEnable" {
  63.     Filename "enabfnt";
  64.     Translate " abcdefghijklmnopqrstuvwxyz";
  65.     Kerning 0;
  66. };
  67. Font "PopupButtonPush" {
  68.     Filename "PushFnt";
  69.     Translate " abcdefghijklmnopqrstuvwxyz";
  70.     Kerning 0;
  71. };
  72. Font "PopupButtonFocus" {
  73.     Filename "Focufnt";
  74.     Translate " abcdefghijklmnopqrstuvwxyz";
  75.     Kerning 0;
  76. };
  77.  
  78. //********************************
  79. //  Styles
  80. //********************************
  81. Style "MvpBackground" {
  82.     Image "MvpBackground";
  83. };
  84. Style "MvpStatTitleFont" {
  85.     Font "MvpStatTitleFont";
  86. };
  87. Style "MvpStatsFont" {
  88.     Font "MvpStatsFont";
  89. };
  90. ButtonStyle "MvpButtonOkay" {
  91.     Enabled Image "PopupOkayButtonEnable";
  92.     Pushed Image "PopupOkayButtonPush";
  93.     Focused Image "PopupOkayButtonFocus";
  94.     Enabled Font "PopupButtonEnable";
  95.     Focused Font "PopupButtonFocus";
  96.     Pushed Font "PopupButtonPush";
  97. };
  98.  
  99. //********************************
  100. //  Buttons
  101. //********************************
  102. Button "MvpOkayButton" {
  103.     ButtonStyle "MVPButtonOkay";
  104.     Position [444, 272];    
  105.     Default;
  106.  
  107.     String "OK" {
  108.         Justify CenterCenter;
  109.         Position [24, 11];
  110.     };
  111.     Clicked Action {
  112.         Goto Group Global "InGameNavBarGroup";
  113.     };
  114. };
  115.  
  116. //********************************
  117. //  Groups
  118. //********************************
  119. Group "mvp" {
  120.     Style "MvpBackground";
  121.     Root;
  122.     Position [70, 80];
  123.     Children {
  124.         Button "MVPOkayButton";
  125.         Group "MvpLogos";
  126.         Group "MvpPlayerPicture";
  127.         EditBox "MvpStatTitles";
  128.         EditBox "MvpStatPoints";
  129.         EditBox "MvpStatRebounds";
  130.         EditBox "MvpStatAssists";
  131.         EditBox "MvpStatBlocks";
  132.         EditBox "MvpStatSteals";
  133.     };
  134. };
  135.  
  136. Group "MvpPlayerPicture" {
  137.     Position [219,73];
  138.     Children {
  139.         include "UIScript\MvpFace";
  140.     };
  141. };
  142. Group "MvpLogos" {
  143.     Position [123,57];
  144.     Children {
  145.         Include "UIScript\MvpLogo";
  146.     };
  147. };
  148.  
  149. //********************************
  150. //  Edit Boxes
  151. //********************************
  152. EditBox "MvpStatTitles" {
  153.     Style "MvpStatTitleFont";
  154.     Position [75, 200];
  155.     Size [360, 20];
  156.     
  157.     String "Points   Rebounds   Assists   Blocks   Steals" {
  158.         Justify CenterLeft;
  159.         Position [0, 10];
  160.     };
  161. };
  162. EditBox "MvpStatPoints" {
  163.     Style "MvpStatsFont";
  164.     Position [68, 230];
  165.     Size [50, 20];
  166.     
  167.     String "100" {
  168.         Justify Centercenter;
  169.         Position [25, 10];
  170.     };
  171. };
  172. EditBox "MvpStatRebounds" {
  173.     Style "MvpStatsFont";
  174.     Position [148, 230];
  175.     Size [50, 20];
  176.     
  177.     String "26" {
  178.         Justify Centercenter;
  179.         Position [25, 10];
  180.     };
  181. };
  182.  
  183. EditBox "MvpStatAssists" {
  184.     Style "MvpStatsFont";
  185.     Position [228, 230];
  186.     Size [50, 20];
  187.     
  188.     String "15" {
  189.         Justify Centercenter;
  190.         Position [25, 10];
  191.     };
  192. };
  193. EditBox "MvpStatBlocks" {
  194.     Style "MvpStatsFont";
  195.     Position [308, 230];
  196.     Size [50, 20];
  197.     
  198.     String "22" {
  199.         Justify Centercenter;
  200.         Position [25, 10];
  201.     };
  202. };
  203. EditBox "MvpStatSteals" {
  204.     Style "MvpStatsFont";
  205.     Position [388, 230];
  206.     Size [50, 20];
  207.     
  208.     String "8" {
  209.         Justify Centercenter;
  210.         Position [25, 10];
  211.     };
  212. };